package com.itheima.service;

import com.itheima.dao.impl.StudentDaoImpl;
import com.itheima.domain.Student;

public interface StudentService {
    //创建studentDao对象
    //BaseStudentDao studentDao = StudentDaoFactory.getStudentDao();
    StudentDaoImpl student = new StudentDaoImpl();

    void addStudent(Student student);    //添加学生

    boolean isExists(String id) ;           //判断学生是否存在

    void delectStudent(String id);       //删除学生信息

    Student updataStudent(Student student); //修改学生信息

    Student[] findAllStudent();             //查找全部学生信息
}
